package com.dinzeer.lostbladereborn.sa;

import com.dinzeer.legendreliclib.lib.compat.slashblade.SwordRainGenerator;
import com.dinzeer.legendreliclib.lib.compat.slashblade.entity.swordrain.BaseSwordRainEntity;
import com.dinzeer.legendreliclib.lib.util.WaitingTick;
import net.minecraft.world.entity.LivingEntity;

import java.util.List;


public class DragonBreak {
    public static void doSlash(LivingEntity entity){
        spawnCircularDrives(entity);
    }
    public static void spawnCircularDrives(LivingEntity playerIn) {
        for (int i = 0; i < 5; i++){
            WaitingTick.schedule(i,()->{
                  SwordRainGenerator.generateFivePointSwordRain(playerIn, playerIn.level(), 10);

            });

        }
    }

}